package com.kwm.Service.impl;

import com.kwm.Mapper.ClassMapper;
import com.kwm.Service.ClassService;
import com.kwm.entity.Clazz;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class ClassServiceImpl implements ClassService {

    @Autowired
    private ClassMapper mapper;
    @Override
    public List<Clazz> list() {
        List<Clazz> clas = mapper.list();

        return clas;
    }
}
